package code08_三大特征.练习;

public class NoteBook extends Computer{
	private String power;

	public NoteBook(String name, String brand, String cpu, String display, String power) {
		super(name, brand, cpu, display);
		this.power = power;
	}

	public String getPower() {
		return power;
	}

	public void setPower(String power) {
		this.power = power;
	}
	
	@Override
	public void show() {
		super.show();
		System.out.println("电池类型："+power);
	}
	
}


